import { mapState, mapMutations } from 'vuex'
// import dictArr from '../../store/modules/dictArr'
const VuexState = {
  name: 'VuexState',
  data() {
    return {

    }
  },
  computed: {
    // ...mapState([
    //   'state', 'menu', 'dictArr',
    // ]),
    ...mapState({
      dictArrs: state => state.dictArr.dictArrs,
      userInfo: state => state.user.userInfo,
      operator: state => state.user.operator
    })
  },
  methods: {
    ...mapMutations([
      'SET_MENU_IF_COLLAPSE'  //展开折叠 菜单
    ])
  }
}

export default VuexState
